package or.exa.cangguan.entity.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class InStoreDto {
    /**
     * 入库单id
     */
    private Integer id;

    /**
     * 货物来源
     */
    private String goodsSource;

    /**
     * 入库单据号
     */
    private String inNumber;

    /**
     * 计划入库时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inPlanTime;

    /**
     * 仓库id
     */
    private String storeName;

    /**
     * 入库状态：0未入库、1已入库、2取消、3推迟
     */
    private String inStatus;

    /**
     * 业务单据号
     */
    private String bizNo;

    /**
     * 创建时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 创建人id
     */
    private String createName;

    /**
     * 修改时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 修改人id
     */
    private String updateName;

    //details-------------------------

    /**
     * 入库单id
     */
    private Integer inId;

    private List<GoodsDto> goodsList;

}